'''
Descripttion: 
Author: Josco
version: 
Date: 2022-10-10 18:38:38
LastEditors: Josco
LastEditTime: 2022-10-11 20:43:53
'''
from hash_check import *

do_hash_check = hash_check()

# a = do_hash_check.str2bitarray("./data/21.pdf 2022-10-08 10:23:56 2022-09-14 12:03:36 2022-09-14 12:03:36 360 160 6 21880 112 0 f191fb94ed846fc14ad8a91fdce2cd6cjiezhidaozhe")
a = do_hash_check.str2bitarray("jiezhidaozhe")
print(a)
print(type(a))

b = do_hash_check.bitarray2str(a)
print(b)
print(type(b))
# 0010111000101111011001000110000101110100011000010010111100110010001100010010111001110000011001000110011000100000001100100011000000110010001100100010110100110001001100000010110100110000001110000010000000110001001100000011101000110010001100110011101000110101001101100010000000110010001100000011001000110010001011010011000000111001001011010011000100110100001000000011000100110010001110100011000000110011001110100011001100110110001000000011001000110000001100100011001000101101001100000011100100101101001100010011010000100000001100010011001000111010001100000011001100111010001100110011011000100000001100110011011000110000001000000011000100110110001100000010000000110110001000000011001000110001001110000011100000110000001000000011000100110001001100100010000000110000001000000110011000110001001110010011000101100110011000100011100100110100011001010110010000111000001101000011011001100110011000110011000100110100011000010110010000111000011000010011100100110001011001100110010001100011011001010011001001100011011001000011011001100011011010100110100101100101011110100110100001101001011001000110000101101111011110100110100001100101